<?php

use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Jialeo\LaravelSchemaExtend\Schema;

class AddColumnHistoryConfirmTimeToSiteLocationAgainAssembleTable extends Migration
{
    /**
     * Run the migrations.
     *
     * @return void
     */
    public function up()
    {
        Schema::table('site_location_again_assemble', function (Blueprint $table) {
            $table->string('historyConfirmTime', 255)->after('confirmTime')->default('')->comment('选址历史确认时间');
        });
    }

    /**
     * Reverse the migrations.
     *
     * @return void
     */
    public function down()
    {
        Schema::table('site_location_again_assemble', function (Blueprint $table) {
            $table->dropColumn('historyConfirmTime');
        });
    }
}
